package com.leon.alishop.web.controller;

import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import net.sf.json.JSONObject;

import org.apache.commons.httpclient.HttpException;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.leon.alishop.core.bo.GoodsBo;
import com.leon.alishop.core.bof.GoodsBof;
import com.leon.alishop.core.page.Page;
import com.leon.alishop.core.vo.GoodsParams;
import com.leon.alishop.dao.GoodsInfoDao;
import com.leon.alishop.model.GoodsInfo;
import com.leon.alishop.web.util.AlishopImageUtils;

@Controller
public class IndexController  extends BaseController{

	private final static String GOODS_LIST_PAGE = "/index";
	private final static String GOODS_LIST_REDIRECT= "redirect:/goods/list.htm";
	
	@RequestMapping(value = "/index")
	public String index(GoodsParams vo,BindingResult bindingResult, HttpServletRequest req,HttpServletResponse res,Model model){
		return GOODS_LIST_PAGE;
	}
	
}
